﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="gsrl.aspx.cs" Inherits="morning_gsrl" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="../css/style.css" rel="stylesheet" type="text/css" />
    <link href="../css/jquery.autocomplete.css" rel="stylesheet" type="text/css" />
    <link href="../css/jquery-ui-1.7.3.custom.css" rel="Stylesheet" type="text/css" />
    <link href="../css/tipswindown.css" type="text/css" rel="Stylesheet" />
    <script type="text/javascript" src="../edit/jquery/jquery-1.4.2.min.js"></script>
    <script type="text/javascript" src="../edit/xheditor-zh-cn.src.js"></script>
    <script src="../js/jquery.autocomplete.js" type="text/javascript"  language="javascript"></script>
    <script src="../js/StockSearchData.js" language="javascript" type="text/javascript"></script>
    <script src="../js/tipwindows.js" language="javascript" type="text/javascript"></script>    
    <script src="../js/jquery-ui-1.7.3.custom.min.js"></script>
    <script type="text/javascript" defer="defer" src="../My97DatePicker/WdatePicker.js"></script>
    <style type="text/css">
    .sub_table 
    {
      width:70%;
	  border-collapse:collapse; 
	  border:solid 1px #000;
	  background-color:#FFF;
    }
    .sub_table tr
    {
        height:25px;
    }
    .sub_table td
    {
        background-color:#FFF;
        border:solid 1px #000;
    }
    .sub_table th
    {
        background-color:#FFF;
        border:solid 1px #000;
    }
        #text1
        {
            width: 334px;
        }
        #text2
        {
            width: 332px;
        }
        #text3
        {
            width: 329px;
        }
        #text4
        {
            width: 331px;
        }
    </style>
    <script type="text/javascript">
        function GoToAdd(url) {
            tipsWindown("新增", "iframe:" + url + "?xgid=" + document.getElementById("xgid").value, "720", "200", "true", "", "true", "leotheme");
        }
        function GoToEdit(url, id) {
            tipsWindown("编辑", "iframe:" + url + "?xgid=" + document.getElementById("xgid").value + "&id=" + id, "720", "200", "true", "", "true", "leotheme");
        }

        function GoToEditBig(url, id) {
            tipsWindown("编辑", "iframe:" + url + "?xgid=" + document.getElementById("xgid").value + "&id=" + id, "720", "450", "true", "", "true", "leotheme");
        }

        function GoToDel(table, id) {
            //alert("iframe:delitem.aspx?talbe=" + table + "&ids=" + id);
            tipsWindown("删除", "iframe:delitem.aspx?table=" + table + "&ids=" + id, "720", "200", "true", "", "true", "leotheme");
        }

        function CloesPage() {
            $("#windownbg").remove();
            $("#windown-box").fadeOut("slow", function () { $(this).remove(); });
        }
    </script>    
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div class="button_bar">
            <asp:TextBox ID="ptime" runat="server"></asp:TextBox>　
            <asp:Button ID="Button3" CssClass="common_button" runat="server" Text="查询" 
                onclick="Button3_Click" />
            <input type="button" class="common_button" onclick="upTitle()" value="新增" />
            <asp:Button ID="Button2" CssClass="common_button" runat="server" Text="保存" OnClick="btnSave_Click" />
        </div>    
    </div>
    <div id="titles">             
    </div>
    <div id="change">
    <%=changes %>             
    </div>
    </form>
    <script type="text/javascript">
        function upTitle() {
            var node = document.getElementById("titles");
            var nodediv = document.createElement("div");
            nodediv.innerHTML = "<input type=\"text\" style=\"width:400px;\" name=\"title\" /> ";
            node.appendChild(nodediv);
        }
    </script>
</body>
</html>
